package com.wzz.service;

import com.wzz.pojo.User;
import com.wzz.service.impl.UserServiceImpl;
import com.wzz.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author DarkClown
 * @date 2024-08-12 10:18
 * @project_name day0812-month
 * @parem
 **/
@Service
@FeignClient(value = "month-user",fallback = UserServiceImpl.class)
public interface UserService {

    @PostMapping("/user/user/sendCode")
    public R sendCode(User user);

}
